package com.nth.rooster.core.exception;
/**
* Constant for ErrorCode. 
*/
public enum NErrorCode {

	 INVALID_LOGIN_AUTHENTICATION(1000),
	 INVALID_SUPER_USER_LOGIN(1002),
	 INVALID_SU_LOGIN_AUTHENTICATION(1003),
	 INVALID_CREDENTIALS_FOR_UPDATE_OF_LOGIN_CREDENTIALS(1004),
	
	 UNDEFINED_EXCEPTION(9001),
	 UNDEFINED_SYSTEM_SETTING_KEY(9002);
 
	 private int errorCode;
	 
	 private NErrorCode( int errorCode ) {
		 this.errorCode = errorCode;
	 }
	 
	/**
	 * Get the Error code. 
	 *
	 * @return int
	 *
	 */
	 public int getErrorCode() {
		 return errorCode;
	 }

}
